using System.Collections;
using System.Collections.Generic;
using System.ComponentModel.Design;
using UnityEngine;

public class SkillManger : MonoBehaviour
{
    public static SkillManger instance;
    public Dash_Skill dash { get; private set; }
    public CloneSkill clone { get; private set; }
    public SwordSkill sword { get; private set; }
    public BlackHoleSkill blackHole { get; private set; }
    public CrystalSkill crystal { get; private set; }
    public ParrySkill parrySkill { get; private set; }
    public DodgeSkill dodgeSkill { get; private set; }
    private void Awake()
    {
        if (instance == null)
        {
            instance = this;
            dash = GetComponent<Dash_Skill>();
            clone = GetComponent<CloneSkill>();
            sword = GetComponent<SwordSkill>();
            blackHole=GetComponent<BlackHoleSkill>();
            crystal = GetComponent<CrystalSkill>();
            parrySkill=GetComponent<ParrySkill>();
            dodgeSkill = GetComponent<DodgeSkill>();
        }
        else
        {
            Destroy(instance.gameObject);
        }
    }
    
    private void Start()
    {
        
    }
}
